package com.dsx.haha.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dsx.haha.model.entity.TenantUser;
import org.apache.ibatis.annotations.Param;

/**
 * @author dsx
 * @date 2021/3/12 10:22
 * @since JDK1.8
 */
public interface TenantUserMapper extends BaseMapper<TenantUser> {
    //在租户用户表中插入数据
    int addTenantUser(TenantUser tenantUser);
    int checkUser(@Param("userId") String userId,@Param("tenantID") String tenantID);
}
